<div>
    <form class="form-horizontal bv-form"  role="form" >
        <fieldset>
            <legend>基本信息</legend>
            <div class="form-group">
                <label class="col-sm-3 control-label">群组名称</label>
                <div class="col-sm-6">
                    <input type="text" class="form-control" disabled value="{$data['g_name']}">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">群主</label>
                <div class="col-sm-6">
                    <input type="text" class="form-control" disabled value="{$data['user_username']}">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">群主号码</label>
                <div class="col-sm-6">
                    <input type="text" class="form-control" disabled  value="{$data['user_phone']}">
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-3 control-label">群公告</label>
                <div class="col-sm-6">
                    <textarea class="form-control" cols="35" rows="5" disabled>{$data['g_notice']}</textarea>
                </div>
            </div>
            <!--TODO 图片 最多九张-->
            <div class="form-group">
                <label class="col-sm-3 control-label">群组图片</label>
                <div class="col-sm-6">
                    {if $data['g_thumb']}
                    <img src="{$data['g_thumb']}" alt="" height="100" />
                    {else}
                    无群组图片
                    {/if}
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">群组成员：
                    {if !$data['g_uids']}
                    0
                    {else}
                    <?php echo count($data['g_uids']); ?>
                    {/if}
                </label>
                <div class="col-sm-6">

                </div>
            </div>
            {if $data['g_uids']}
            <div style="width: 100%;">
                {volist name="$data['g_uids']" id='u'}
                <div style="width: 15%;height: auto;margin: 0.8%;float: right">
                    <img src="{if $u['user_image']}{$u['user_image']}{else}http://mms.mangmeshi.com/mang/touxiang.png{/if}" alt="" style="width: 100%;"/>
                    <span style="width: 100%;text-align: center;display: block;overflow: hidden;height: 20px;line-height: 20px;font-size: 13px;">{$u['user_username']}</span>
                </div>
                {/volist}
            </div>
            {/if}

            <!--end-->
            <div style="clear: both;height: 10px;"></div>
            <div class="form-group">
                <label class="col-sm-3 control-label">群组状态</label>
                <div class="col-sm-6">
                    <select disabled class="form-control" style="font-size: 13px;">
                        <option {if $data.g_status == 1} selected {/if} value="1">正常</option>
                        <option {if $data.g_status == 2} selected {/if} value="2">已解散</option>
                    </select>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-3 control-label">创建时间</label>
                <div class="col-sm-6">
                    <input type="text" class="form-control" disabled  value="{$data['g_time']}">
                </div>
            </div>

        </fieldset>
    </form>
</div>